Ext.define('SMS.view.TabPanel',{
	extend:'Ext.tab.Panel',
	initComponent:function(){
		var me = this;
		me.addEvents('close');
		Ext.apply(this,{
			id:'content-panel',
			region:'center',
			defaults:{
				autoScroll:true,
				bodyPadding:0
			},
			activeTab:0,
			border:false,
			items:[{
				id:'HomePage',
				title:'首页',
				layout:'fit'
			}]
		});
		this.callParent(arguments);
	}
});